<button class="btn-flex w-full c-text-w fs20 bg-green" ui-sref="greens">查看全部</button>
<div class="paper-b m8">
    <table class="table table-hover table-striped">
        <thead>
            <tr>
                <th>种子概况</th>
                <th>最新状态</th>
                <th>相关操作</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td class="img_box">
                    <div id="img_box" class="w108"><img src="{{green.image}}" alt=""></div>
                </td>
                <td></td>
                <td>
                    <div id="container">
                        <button class="btn bg-blue va-m" id="pickfiles">更新图片</button>
                    </div>
                </td>
            </tr>
            <tr>
                <td>生长周期(到枯萎)</td>
                <td>
                    <input type="text" class="input-normal" ng-model="green.grownDay">
                </td>
                <td></td>
            </tr>
            <tr>
                <td>成熟周期(到成熟)</td>
                <td>
                    <input type="text" class="input-normal" ng-model="green.grownUpDay">
                </td>
                <td></td>
            </tr>
            <tr>
                <td>名称</td>
                <td>
                    <input type="text" class="input-normal" ng-model="green.name">
                </td>
                <td></td>
            </tr>
            <tr>
                <td>价格</td>
                <td>
                    <input type="text" class="input-normal" ng-model="green.price">
                </td>
                <td></td>
            </tr>
            <tr>
                <td>发布状态</td>
                <td>
                    <div ng-bind="isJudge(green.status)" class="d-il"></div>
                </td>
                <td>
                    <div class="select w90">
                        <select name="" id="select" class="b-divider-b w-full" ng-model="green_status" ng-options="state.name for state in status" ng-init="green_status=status[1]">
                        </select>
                    </div>
                </td>
                <!-- <div class="switch-box-normalize">
                        <label for="switch-input" class="switch-mark-click"></label>
                        <input type="checkbox" value="1" id="switch-input" ng-click="isPublishStatus(green.status)">
                        <div>
                            <i class="switch-move"></i>
                            <span class="switch-horizon"></span>
                        </div>
                    </div> -->
            </tr>
            <tr>
                <td>种子ID</td>
                <td ng-bind="green.id"></td>
                <td></td>
            </tr>
        </tbody>
    </table>
    <button class="btn-flex w-full c-text-w bg-blue mt16" ng-click="update()">更新信息</button>
</div>
<style>
input[type='text'] {
    width: 72px;
}

#img_box>img {
    width: 100%;
}
</style>
